package com.xuchen.zhenyang.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 进货表
 * </p>
 *
 * @author xuchen
 * @since 2019-02-17
 */
@Data
public class PurchaseBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "purchase_base_id", type = IdType.AUTO)
    private Integer purchaseBaseId;
    /**
     * 供货商
     */
    private Integer supplierId;
    /**
     * 1.未付款 2.已付款
     */
    private Integer payType;
    /**
     * 应付金额
     */
    private BigDecimal totalMoney;
    /**
     * 运费
     */
    private BigDecimal deliveryMoney;
    /**
     * 实际付款
     */
    private BigDecimal realPayMoney;
    /**
     * 进货时间
     */
    private Date purchaseTime;
    /**
     * 备注
     */
    private String remark;
    private Date createTime;
    private Date updateTime;
}
